#@adminLayout()
#define main()
<div class="jbolt_page">
    <div class="jbolt_page_title">
        <h3>编辑商品价格/库存</h3>
    </div>

    <div class="jbolt_page_content">
        <div class="col-12">

            <form id="retailerFormFina"  action="/auth/mall/rush/update_price_stock" method="post" onsubmit="return RefreshsubmitForm(this);">

                <input type="hidden" name="rushCommodity.id" value="#(rushCommodity.id)" />
                <input type="hidden" name="rushCommodity.commodity_id" value="#(rushCommodity.commodity_id)" />
                <input type="hidden" name="old_rush_stock" value="#(rushCommodity.rush_stock)" />
                <input type="hidden" name="old_credit_stock" value="#(rushCommodity.credit_stock)" />



                <div class="form-group row">
                    <label class="col-4 col-form-label">商家名称</label>
                    <div class="col-7">
                        <input class="form-control" type="text" data-rule="required" readonly="readonly" name="retailer_name" value="#(rushCommodity.retailer_name??)">
                    </div>
                </div>

                <div class="form-group row">
                    <label class="col-4 col-form-label">商品名称</label>
                    <div class="col-7">
                        <input class="form-control" type="text" data-rule="required" readonly="readonly" name="commodity_name" value="#(rushCommodity.commodity_name??)">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-4 col-form-label">商品规格</label>
                    <div class="col-7">
                        <textarea class="form-control" style="height: 80px"  data-rule="required" readonly="readonly" name="option_title" value="#(rushCommodity.option_title??)">#(rushCommodity.option_title??)</textarea>
                    </div>
                </div>

                <div class="form-group row">
                    <label class="col-4 col-form-label">积分抢购价格(元)</label>
                    <div class="col-7">
                        <input type="money" autocomplete="off"  class="form-control" min="0" max="10000000000" placeholder="请输入积分抢购价格"  name="credit_price" value="#(MyUtil.get_price_string(rushCommodity.credit_price??)??)">


                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-4 col-form-label">积分抢购库存</label>
                    <div class="col-7">
                        <input type="number" autocomplete="off"  class="form-control" min="0" max="10000000000"  placeholder="请输入积分抢购库存"  name="rushCommodity.credit_stock" value="#(rushCommodity.credit_stock??)">
                    </div>
                </div>


                <div class="form-group row">
                    <label class="col-4 col-form-label">全民抢购价格(元)</label>
                    <div class="col-7">
                        <input type="money" autocomplete="off"  class="form-control" min="0" max="10000000000" data-rule="money" data-tips="请输入正确的价格"  placeholder="请输入全民抢购价格"    name="rush_price" value="#(MyUtil.get_price_string(rushCommodity.rush_price??)??)">
                    </div>
                </div>

                <div class="form-group row">
                    <label class="col-4 col-form-label">全民抢购库存</label>
                    <div class="col-7">
                        <input type="number" autocomplete="off"   class="form-control"  min="0" max="10000000000" placeholder="请输入全民抢购库存"   name="rushCommodity.rush_stock" value="#(rushCommodity.rush_stock??)">
                    </div>
                </div>



                <div class="form-group text-center">
                    <button  type="submit"    class="btn btn-success"   ><i class="fa fa-check mr-2"></i>确定</button>
                </div>
            </form>

        </div>
    </div>
</div>
</div>
#end


#define js()
<script>
</script>
#end
